package com.example.taluo.service;

import com.example.taluo.mapper.RoomMapper;
import org.springframework.stereotype.Service;

/*** @Author supersaiya
 * @Description TODO

 * @Date 2025/2/17 15:12

 * @Version 1.0*/
@Service
public class RoomService {
    private RoomMapper roomMapper;
    public RoomService(RoomMapper roomMapper) {
        this.roomMapper = roomMapper;
    }
    public static String createRoom(String player1Id, String player2Id) {
        // 简单地返回一个房间ID
        return "Room_" + player1Id + "_" + player2Id;
    }

}
